package com.study.design.builder.str;

/**
 * @Author 网易云课堂微专业-java高级开发工程师【allen老师】
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        AllenStringBuilder sb = new AllenStringBuilder();
        final int count = 26;
        for (int i = 0; i < count; i++) {
            sb.append((char) ('a' + i));
        }
        sb.append((char) ('a'));

        Allen allen = new Allen();
        allen.setAge(18);
        allen.setName("allen");

        System.out.println(sb.toString());
        // abcdefghijklmnopqrstuvwxyz

        allen.setName("allen").setAge(18);



    }
}
